package com.eos.control.action.activity;

import com.eos.control.action.base.AbstractBaseAction;

public class SalesSetListAction extends AbstractBaseAction {
	private static final long serialVersionUID = -814576746433790128L;
	private Integer pageNum;
	private Integer numPerPage;
	
	
	public Integer getPageNum() {
		return pageNum;
	}


	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}


	public Integer getNumPerPage() {
		return numPerPage;
	}


	public void setNumPerPage(Integer numPerPage) {
		this.numPerPage = numPerPage;
	}


	@Override
	public String execute() {
		try {
			if(pageNum == null || pageNum.intValue() ==0) pageNum = 1;
			if(numPerPage == null || numPerPage.intValue() == 0) numPerPage = PAGE_SIZE;
			
		} catch (Exception e) {
			e.printStackTrace();
		}
		return SUCCESS;
	}
}
